home *** CD-ROM | disk | FTP | other *** search
- static char rcsid[] = "$Id: keymisc.c,v 1.1 1992/09/14 13:02:14 mike Exp $";
-
- /* $Log: keymisc.c,v $
- * Revision 1.1 1992/09/14 13:02:14 mike
- * Initial revision
- *
- */
-
- /* keymisc.c :
- * C Durland
- */
-
- /* Copyright 1990, 1991 Craig Durland
- * Distributed under the terms of the GNU General Public License.
- * Distributed "as is", without warranties of any kind, but comments,
- * suggestions and bug reports are welcome.
- */
-
- #include <dtable.h>
- #include <const.h>
- #include "ed.h"
-
- int Eset_pkey(pkeys,n,kc) PKey *pkeys; int n; KeyCode kc;
- {
- if (0<=n && n<PKEYS) { pkeys[n] = kc; return TRUE; }
- return FALSE;
- }
-
- void Eclear_keytable(kt) dTable *kt;
- { reset_dTable(kt); } /* unbind all keys */
-